/**
 * 
 */
package org.cnbi.utils.clone;

/**
 * Copyright © 2014中国经邦. All rights reserved.
 * 
 * @author 龚佳新
 * @date 2014年6月6日下午1:00:28
 * @cnbi-utils
 */
public class Person implements Cloneable {
	private long id;
	private String name;

	public Person(String name) {
		super();
		this.name = name;
	}

	public Person(long id, String name) {
		super();
		this.id = id;
		this.name = name;
	}

	@Override
	public Person clone() throws CloneNotSupportedException {
		Person p = (Person) super.clone();
		return p;
	}

	@Override
	public String toString() {
		return "Id:" + id + "\tName:" + name;
	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	
}